
import 'package:flutter/material.dart';

class SettingDetail extends StatefulWidget {
  final title;
  const SettingDetail({super.key, required this.title});

  @override
  State<SettingDetail> createState() => _SettingDetailState();
}

class _SettingDetailState extends State<SettingDetail> {

  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    setState(() {

    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Container(
        margin: EdgeInsets.symmetric(horizontal: 20,vertical: 20),
        child: ListView.builder(
          itemCount: 10,
            itemBuilder: (context,index){
            return Column(
              children: [
                Text(
                    "${widget.title}详情页内容${widget.title}详情页内容${widget.title}详情页内容${widget.title}详情页内容${widget.title}详情页内容${widget.title}详情页内容${widget.title}详情页内容"),

                Divider()
              ],
            ) ;
            }),
      ),
    );
  }
}
